﻿namespace GdNet.WebFramework.Domain.System
{
    public partial class ModuleService
    {
        public static ModuleServiceFactory Factory
        {
            get { return new ModuleServiceFactory(); }
        }

        public class ModuleServiceFactory
        {
            public ModuleService Create(string className)
            {
                return new ModuleService()
                    {
                        ClassName = className
                    };
            }
        }
    }
}
